<extend name="Public/base"/>
<block name="body">
    <script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
    <div class="main-title">
        <h2>{$meta_title}</h2>
    </div>

    <form action="" method="post" class="form-horizontal">
        <!--  反馈对象  -->
        <div class="form-item">
            <label class="item-label">反馈对象</label>
            <div class="controls">
                <if condition="$info['type'] == 1">
                    <input type="text" class="text input-large" value="用户反馈" readonly>
                    <else />
                    <input type="text" class="text input-large" value="机构反馈" readonly>
                </if>
            </div>
        </div>
        <!--  姓名  -->
        <div class="form-item">
            <label class="item-label">姓名</label>
            <div class="controls">
                <input type="text" class="text input-large" name="uid" value="{:getDbFieldValue('ucenter_member', array('id' => $info['uid']), 'username')}" readonly>
            </div>
        </div>
        <!--  联系方式  -->
        <div class="form-item">
            <label class="item-label">联系方式</label>
            <div class="controls">
                <input type="text" class="text input-large" name="uid" value="{:getDbFieldValue('ucenter_member', array('id' => $info['uid']), 'mobile')}" readonly>
            </div>
        </div>
        <!--  反馈分类  -->
        <div class="form-item">
            <label class="item-label">反馈分类</label>
            <div class="controls">
                <input type="text" class="text input-large" name="uid" value="{$info.type_name}" readonly>
            </div>
        </div>
        <!--  反馈内容  -->
        <div class="form-item">
            <label class="item-label">反馈内容</label>
            <div class="controls">
                <textarea cols="55" rows="10" name="content" readonly>{$info.content}</textarea>
            </div>
        </div>
        <!--  是否采纳  -->
        <div class="form-item">
            <label class="item-label">是否采纳</label>
            <div class="controls">
                <label><input type="radio" name="is_adopt" value="2" <if condition="$info['is_adopt'] == 2">checked</if> /> 未采纳</label>
                <label><input type="radio" name="is_adopt" value="1" <if condition="$info['is_adopt'] == 1">checked</if> /> 已采纳</label>
            </div>
        </div>

        <input type="hidden" value="{:I('id')}" name="id" />
        <div class="form-item">
            <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U("Manage/feedbackList")}');
    </script>
</block>
</html>